Skip to content

eth/protocols/eth: simplify peer known block/txs caches#23649

Merged
holiman merged 4 commits into
ethereum:masterfrom
ferranbt:feature-simplify-announce
Sep 28, 2021
Merged

eth/protocols/eth: simplify peer known block/txs caches#23649
holiman merged 4 commits into
ethereum:masterfrom
ferranbt:feature-simplify-announce

Conversation

@ferranbt
Copy link
Copy Markdown
Contributor

This PR adds a new set object that abstract the cache for known blocks and transactions.

Copy link
Copy Markdown
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm aside from some minor nits

Comment thread eth/protocols/eth/peer.go Outdated
Comment thread eth/protocols/eth/peer.go Outdated
Copy link
Copy Markdown
Contributor

@holiman holiman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moar minor nits

Comment thread eth/protocols/eth/peer.go Outdated
Comment thread eth/protocols/eth/peer.go Outdated
Comment thread eth/protocols/eth/peer.go Outdated
@holiman holiman changed the title Simplify peer known block/txns cache eth/protocols/eth: simplify peer known block/txs caches Sep 28, 2021
Comment thread eth/protocols/eth/peer.go
Comment thread eth/protocols/eth/peer.go Outdated
@holiman holiman merged commit a541fbe into ethereum:master Sep 28, 2021
@holiman holiman added this to the 1.10.9 milestone Sep 28, 2021
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Sep 28, 2021
* Simplify peer known block/txns cache

* Address minor changes

* Add more minor comments

* Minor changes from review
yongjun925 pushed a commit to DODOEX/go-ethereum that referenced this pull request Dec 3, 2022
* Simplify peer known block/txns cache

* Address minor changes

* Add more minor comments

* Minor changes from review
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants